#include "oled_app.h"
#include "oled.h"




int oled_printf(uint8_t x, uint8_t y, const char *format, ...)
{
  char buffer[512]; 
  va_list arg;      
  int len;          

  va_start(arg, format);
  
  len = vsnprintf(buffer, sizeof(buffer), format, arg);
  va_end(arg);

  OLED_ShowStr(x, y, buffer, 8);
  return len;
}


void my_oled_init(void)
{
	OLED_Init();
}	

extern unsigned char system_mode;
void oled_task(void) 
{

}

